package com.lancer.cloud.user.mapper;


import com.lancer.cloud.common.base.mapper.BaseMapper;
import com.lancer.cloud.user.entity.SysResource;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

/**
 *
 * 资源表(菜单与按钮) Mapper 接口
 *
 * @author caijinbang
 * @since 2018-10-16
 */
@Mapper
public interface SysResourceMapper extends BaseMapper<SysResource> {

    /**
     * 根据角色code查询资源集合
     * @param roleCode
     * @return
     */
    List<SysResource> findResourceByRoleCode(String roleCode);

}
